<!--网站导航.搜索条1-->
<div class="header-Nav" style="width: 780px;">
    <div class="Nav-left menulist">
        <ul>
            <li><a href="<?php echo WEB_DOMAIN; ?>/app">应用管理</a></li>
             <li><a href="#">应用编辑 { <?php echo $data["name"];?> }</a></li>
             <li><a href="#" style="color: red"><?php echo $err_msg;?></a></li>
             <li><a>提示：若您更改了应用内容，则需要重新审核</a></li>
        </ul>
    </div>
</div>
<form class="bs-docs-example form-horizontal" action="<?php echo WEB_DOMAIN; ?>/app/editset" id="register_submit" method="post" enctype="application/x-www-form-urlencoded">
    <input type="hidden" name="edit[id]" value="<?php echo $UserInfo["id"] ?>">
    <input type="hidden" name="edit[appid]" value="<?php echo $data["id"] ?>">
    <div class="control-group info">
        <label for="inputError" class="control-label">你的游戏设计方式：</label>
        <div class="controls">
            <li class="form-inline">
            <label><input type="radio"  name="edit[0]" id="version" value="0" checked>关卡</label>
            <label><input type="radio"  name="edit[0]" id="version" value="1">等级</label>
            <label><input type="radio"  name="edit[0]" id="version" value="2">分数</label>
            </li>
            <span class="help-inline">您可根据您的游戏从易到难程度设置8个广告位</span>
        </div>
    </div>
    <h5>第1级广告位：默认承接CPM（千次展示收费）广告，建议在游戏简单关卡后设置该广告位</h5>
    <div class="control-group info">
        <label for="input" class="control-label">第1级广告位条件*：</label>
        <div class="controls">
            <input class="input-mini" id="ad_1_1" name="edit[1][one]" type="text" placeholder="数值" value="<?php echo $data["adinfo"][1]["one"];?>">
            <span class="help-inline" style="float:left; width: 15px;">~</span>
            <input class="input-mini" id="ad_1_2" name="edit[1][two]" type="text" placeholder="数值" value="<?php echo $data["adinfo"]["two"];?>">
            <span class="help-inline">广告位条件范围均用数字表示</span>
        </div>
    </div>
       <h5>第2~8级广告位：默认承接CPA（按照效果收费）广告，建议根据游戏从易到难顺序设置广告位</h5>
       <?php for($i=2;$i<9;$i++){?>
        <div class="control-group info">
        <label for="input" class="control-label">第<?php echo $i;?>级广告位条件*：</label>
        <div class="controls">
            <input class="input-mini" id="ad_<?php echo $i;?>_1" name="edit[<?php echo $i;?>][one]" type="text" placeholder="数值" value="<?php echo $data["adinfo"][$i]["two"];?>">
            <span class="help-inline" style="float:left; width: 15px;">~</span>
            <input class="input-mini" id="ad_<?php echo $i;?>_2" name="edit[<?php echo $i;?>][two]" type="text" placeholder="数值" value="<?php echo $data["adinfo"][$i]["two"];?>">
            <span class="help-inline">广告位条件范围均用数字表示</span>
        </div>
    </div>
      <?php }?>
    <div class="controls-row" style="text-align: center;">
    <button name="subtype" class="btn" type="submit" value="0">保存</button>
    <button name="subtype" class="btn" type="submit" value="1">保存并提交信息审核</button></div>
</form>